<?php 
$list = array(
'免费试用产品管理|/product/getProductList/1',
'最新添加的...|/product/getProductList/1/0/0/1',
'兑换产品管理|/Changes/getProductList/1',
'-',
'用户信息管理|/user/getUsers',
'用户信息管理(时间)|/user/getUsers/1',
'-',
'跨平台产品数据搜索|/count/search_product');
if (SystemProperties::$platform!='sina') {
    $list[]='【体验报告】管理(旧)|//user/listAllPost';
}
$list[] = '-';
$list[] = '查相同IP的用户、封禁|/user/showmj';
if (SystemProperties::$platform=='renren') {
    $list[] = '首页、黑名单设置|/user/setIndexInfo';
    $list[] = '来自合作方的用户数|/user/listCutePigData';
    $list[] = '-';
}
'用户数统计|/user/listCountData',
'分享品牌管理|/user/manageShareGroup',
'首页焦点图管理|/user/manageFocus',
'-',
'成功申请记录(旧)|/user/listApplyOK',
'积分兑换记录(旧)|/user/listChangeOK',
'-',
'合作客户账号管理|/user/manageGuestIndex',
'-',
'选择下载所有点击|/product/saveExcelClickLog',
'选择下载积分兑换|/product/saveExcelLog/0',
'选择下载成功申请|/product/saveExcelLog/1'
)
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台管理</title>
<?php require_once(APP.'libs'.DS.'system_properties.php');?>
<link href="<?php echo SystemProperties::$app_host_webroot;?>/css/main.css?v=9" rel="stylesheet" type="text/css" />
<link href="<?php echo SystemProperties::$app_host_webroot;?>/css/demo.css" rel="stylesheet" type="text/css" />
<?php echo header("Cache-Control:   no-cache");?>
<script language="JavaScript">
<!--
function changebar(){
	if(document.getElementById('frmtitle').style.display==""){
		document.getElementById("frmtitle").style.display = "none";
		if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
       		document.getElementById("switchpoint").innerHTML=">";
   		}else{ 
			document.getElementById("switchpoint").innerHTML="4";
		}
	}else{
		if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
       		document.getElementById("switchpoint").innerHTML="<";
   		}else{ 
			document.getElementById("switchpoint").innerHTML="3";
		}
		document.getElementById('frmtitle').style.display="";
	}
}
function up(){
	if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){
		document.getElementById("switchpoint").innerHTML="<";
	}else{ 
		document.getElementById("switchpoint").innerHTML="3";
	}
}

if (window!=top)top.location.href = "<?php echo SystemProperties::$app_host_webroot;?>/main.html";
//-->
</script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/ajax.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/prototype.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/effects.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/drag.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/dragdrop.js"></script>
<script	type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/tooltip.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/messagebox.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/js/controls.js"></script>
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot;?>/ckeditor/ckeditor.js"></script>
<?php 

echo $scripts_for_layout;
?>
</head>

<body>
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="60" colspan="3"><table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="19%" align="center"></td>
        <td width="70%" align="center"><span class="STYLE1" style="font-size:16px"><img src="<?=SystemProperties::$platform_logo?>" /> <strong> + <?=SystemProperties::$platform?>平台 +</strong> 后台管理系统</span></td>
        <td width="11%" align="center"><a href="<?php echo SystemProperties::$app_host;?>/logins/logout">退出登录</a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="1" bgcolor="#add7ef" colspan="3"></td>
  </tr>
  <tr>
    <td width="180" id="frmtitle" valign="top" style="padding-top:10px;">
<center>
<table align="center" cellpadding="0" cellspacing="0" class="Menu">
  <tr>
    <th align="center" onClick="javascript:menu_tree('left_1');">::: 系统管理 :::</th>
  </tr>
  <tr id="left_1">
    <td valign="top"><table width="100%">
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/" >管理首页</a></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="90%" align="center" height="2">
  <tr>
    <td></td>
  </tr>
</table>
<table align="center" cellpadding="0" cellspacing="0" class="Menu">
  <tr>
    <th align="center" onClick="javascript:menu_tree('left_2');">::: 内容管理 :::</th>
  </tr>
  <tr id="left_2">
    <td valign="top"><table width="100%">
	  <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/product/getProductList/1" >免费试用产品管理</a></td>
      </tr>
   	  <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/product/getProductList/1/0/0/1" >最新添加的...</a></td>
      </tr>   
      <?php /*
       <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/product/getProductList/1/1" >半价试用产品管理</a></td>
      </tr>
      */ ?> 
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/Changes/getProductList/1" >兑换产品管理</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/getUsers" >用户信息管理</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/getUsers/1" >用户信息管理(时间)</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
      
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/count/search_product" >跨平台产品数据搜索</a></td>
      </tr>
            <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
    
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/listAllPost" >【体验报告】管理</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/showmj" >查相同IP的马甲、封禁</a></td>
      </tr>
      
      <?php if (SystemProperties::$platform=='renren') { ?>

      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/setIndexInfo" >首页、黑名单设置</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/showmj" >查相同IP的马甲</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>

       <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/listCutePigData" >来自合作方的用户数</a></td>
      </tr>     
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>    
      
      <?php } ?>
        <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/listCountData" ><b>用户数统计</b></a></td>
      </tr>   
       <?php if (SystemProperties::$platform=='sina') { ?>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/manageShareGroup" >分享品牌管理</a></td>
      </tr>      
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/manageFocus" >首页焦点图管理</a></td>
      </tr>
      <?php } ?>
        
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>        
      
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/listApplyOK" >成功申请记录</a></td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/listChangeOK" >积分兑换记录</a></td>
      </tr>    
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/user/manageGuestIndex" >合作客户账号管理</a></td>
      </tr>    
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="http://www.cpdc.com.cn/postcdQueryAction.do?reqCode=gotoQueryPostAddr" target="_blank" >邮编查询</a></td>
      </tr>    
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;---</td>
      </tr>
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/product/saveExcelClickLog" >选择下载所有点击</a></td>
      </tr>  
      <?php /*
      <tr>
        <td>&nbsp;&nbsp;
        <?php for ($i = 1;$i<=date('m');$i++){ 
            $time_start = strtotime("2010-{$i}-01");
            $j = $i+1;
            $time_end = strtotime("2010-{$j}-01");
            ?>
        <a href="<?php echo SystemProperties::$app_host;?>/product/saveExcelClickLog?from=<?=$time_start?>&end=<?=$time_end?>" target="_blank" ><?=$i?>月</a>
        <?php } ?>
        
        </td>
      </tr>  
      */ ?>
      
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/product/saveExcelLog/0" >选择下载积分兑换</a></td>
      </tr>  
       <?php /*
      <tr>
        <td>&nbsp;&nbsp;
        <?php for ($i = 1;$i<=date('m');$i++){ 
            $time_start = strtotime("2010-{$i}-01");
            $j = $i+1;
            $time_end = strtotime("2010-{$j}-01");
            ?>
        <a href="<?php echo SystemProperties::$app_host;?>/product/saveExcelLog/0?from=<?=$time_start?>&end=<?=$time_end?>" target="_blank" ><?=$i?>月</a>
        <?php } ?>
        
        </td>
      </tr>        
      */ ?>
      
      
      <tr>
        <td><img border="0" src="<?php echo SystemProperties::$app_host_webroot;?>/img/menu.gif" align="absmiddle">&nbsp;<a href="<?php echo SystemProperties::$app_host;?>/product/saveExcelLog/1" >选择下载成功申请</a></td>
      </tr>  
       <?php /*
       <tr>
        <td>&nbsp;&nbsp;
        <?php for ($i = 1;$i<=date('m');$i++){ 
            $time_start = strtotime("2010-{$i}-01");
            $j = $i+1;
            $time_end = strtotime("2010-{$j}-01");
            ?>
        <a href="<?php echo SystemProperties::$app_host;?>/product/saveExcelLog/1?from=<?=$time_start?>&end=<?=$time_end?>" target="_blank" ><?=$i?>月</a>
        <?php } ?>
        
        </td>
      </tr>  
     */ ?>
       
    </table></td>
  </tr>
</table>
<table width="90%" align="center" height="2">
  <tr>
    <td></td>
  </tr>
</table>
</center>
</td>
    <td width="1%" bgcolor="#add7ef" onClick="changebar();"><span class="navpoint" id="switchpoint" title="关闭/打开左栏"><script>javascript:up()</script></span></td>
    <td valign="top"><br /><br /><?php echo $content_for_layout ?>
    	<div id="tipOutter" class="tipOutter" style="display: none;">
		<div id="tipDiv" class="tipDiv"></div>
    </td>
  </tr>
</table>
</body>
</html>